package top.tangyh.lamp.care.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import static com.baomidou.mybatisplus.annotation.SqlCondition.EQUAL;
import static top.tangyh.lamp.model.constant.Condition.LIKE;
import top.tangyh.basic.base.entity.Entity;


/**
 * <p>
 * 实体类
 * 用药撤销记录
 * </p>
 *
 * @author zqb
 * @date 2024-08-09 15:11:26
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@Builder
@TableName("b_exe_yao_revoke_record")
public class BExeYaoRevokeRecord extends Entity<Long> {
    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    @TableField(value = "medication_name", condition = LIKE)
    @Schema(description = "")
    private String medicationName;
    /**
     * 分组名
     */
    @TableField(value = "group_id", condition = LIKE)
    @Schema(description = "分组名")
    private String groupId;
    /**
     * 删除时间
     */
    @TableField(value = "del_time", condition = EQUAL)
    @Schema(description = "删除时间")
    private LocalDateTime delTime;
    /**
     * 操作人名称
     */
    @TableField(value = "opera_name", condition = LIKE)
    @Schema(description = "操作人名称")
    private String operaName;
    /**
     * 删除理由
     */
    @TableField(value = "del_reason", condition = LIKE)
    @Schema(description = "删除理由")
    private String delReason;
    /**
     * 住院号
     */
    @TableField(value = "hospital_number", condition = LIKE)
    @Schema(description = "住院号")
    private String hospitalNumber;



}
